﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ProTrack.Dto
{
    public  class OrderQuoteItemDto
    {

        /// <summary>
        /// 报价单项ID
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 报价单ID
        /// </summary>
        public long OrderQuoteId { get; set; }

        /// <summary>
        /// 物料产品ID
        /// </summary>
        public long ItemId { get; set; }
        public int CurrCount { get; set; }
        public string Spec { get; set; }
        public string ItemCode { get; set; }
        public string ItemName { get; set; }
        public string UnitOfMeasure { get; set; }


        /// <summary>
        /// 金额
        /// </summary>
        public float Amount { get; set; }

        /// <summary>
        /// 含税金额
        /// </summary>
        public float TaxAmount { get; set; }

        /// <summary>
        /// 含税单价
        /// </summary>
        public float TaxPrice { get; set; }

        /// <summary>
        /// 商品单价
        /// </summary>
        public float Price { get; set; }

        /// <summary>
        /// 税率
        /// </summary>
        public float Tax { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public int Count { get; set; }

        /// <summary>
        /// 折扣，默认值为1，0.5表示半价折扣
        /// </summary>
        public float Rebate { get; set; }

        /// <summary>
        /// 创建者
        /// </summary>
        public string Creator { get; set; }

        /// <summary>
        /// 创建时间，默认值为当前时间
        /// </summary>
        public DateTime? CreateTime { get; set; } = DateTime.Now;

        /// <summary>
        /// 修改时间，默认值为当前时间
        /// </summary>
        public DateTime? UpdateTime { get; set; } = DateTime.Now;

        /// <summary>
        /// 修改者
        /// </summary>
        public string Updater { get; set; }

        /// <summary>
        /// 是否删除，默认值为0
        /// </summary>
        public bool Deleted { get; set; } = false;
    }
}
